package com.qian.fmall.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class Product implements Serializable {
   private String productId;
   private String productName;
   private Integer categoryId;
   private Integer rootCategoryId;
   private  Integer soldNum;
   private Integer   productStatus;
   private  String content;
   @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private List<ProductImg> imgs;
}
